From 085a587c38e8aee53fbc420e2f2531777b79d9c2 Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Fri, 28 Jan 2005 23:19:23 +0000 Subject: [PATCH] bitkeeper revision 1.1159.223.51 (41fac87bR5uD5TAFu58tuaTMLSmbrw) Fix makefiles creating copies instead of symlinks of shared libs. Signed-off-by: Arun Sharma Signed-off-by: Keir Fraser --- tools/libxc/Makefile | 2 +- tools/libxutil/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index e27556349e..6369785d68 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -68,7 +68,7 @@ mk-symlinks: install: all [ -d $(DESTDIR)/usr/lib ] || $(INSTALL_DIR) $(DESTDIR)/usr/lib [ -d $(DESTDIR)/usr/include ] || $(INSTALL_DIR) $(DESTDIR)/usr/include - $(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/lib + $(INSTALL_PROG) libxc.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib ln -sf libxc.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/libxc.so.$(MAJOR) ln -sf libxc.so.$(MAJOR) $(DESTDIR)/usr/lib/libxc.so $(INSTALL_DATA) xc.h $(DESTDIR)/usr/include diff --git a/tools/libxutil/Makefile b/tools/libxutil/Makefile index 70d2a02c19..cb12a93251 100644 --- a/tools/libxutil/Makefile +++ b/tools/libxutil/Makefile @@ -64,7 +64,7 @@ check-for-zlib: install: all [ -d $(DESTDIR)/usr/lib ] || $(INSTALL_DIR) -p $(DESTDIR)/usr/lib - $(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/lib + $(INSTALL_PROG) $(LIB_NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib ln -sf $(LIB_NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so.$(MAJOR) ln -sf $(LIB_NAME).so.$(MAJOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so -- 2.30.2